package com.mxpio.erp.common.enums;

public interface HrEnums {
    enum Degree {
        DR("10", "博士"), GRADUATE("20", "研究生"), BS("30", "本科"), COLLEGE("40", "大专"),
        BELOW_JUNIOR_COLLEGE("50", "大专以下");

        Degree(String code, String desc) {
            this.code = code;
            this.desc = desc;
        }

        private String code;
        private String desc;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }
    }

    enum EmployeeStatus {
        WORKING("10", "在职"), TRIAL("20", "试用"), TURNOVER("30", "离职"), RETIRED("40", "退休"),
        REHIRING("50", "返聘");

        EmployeeStatus(String code, String desc) {
            this.code = code;
            this.desc = desc;
        }

        private String code;
        private String desc;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }
    }

    enum AttendanceCalendarDataType {//MB_ERP_HR_ATTENDANCE_CALENDAR_DATETYPE
        WORK("0", "工作日"), WEEKEND("1", "周末"), HOLIDAY("2", "节假日"), TURNOVER("3", "节假日调休补班");

        AttendanceCalendarDataType(String code, String desc) {
            this.code = code;
            this.desc = desc;
        }

        private String code;
        private String desc;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }
    }
    enum AttendanceShiftType {//MB_ERP_HR_ATTENDANCE_SHIFT_TYPE
        DAY("1", "白班"), NIGHT("0", "夜班");

        AttendanceShiftType(String code, String desc) {
            this.code = code;
            this.desc = desc;
        }

        private String code;
        private String desc;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }
    }

}
